﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>Microwave: StateForge::Examples::Microwave::MicrowaveTest Class Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                C# examples using state machines generated by StateBuilderDotNet
            </h1>
            <h3>
                Microwave: StateForge::Examples::Microwave::MicrowaveTest Class Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_state_forge.html">StateForge</a>      </li>
      <li class="navelem"><a class="el" href="namespace_state_forge_1_1_examples.html">Examples</a>      </li>
      <li class="navelem"><a class="el" href="namespace_state_forge_1_1_examples_1_1_microwave.html">Microwave</a>      </li>
      <li class="navelem"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html">MicrowaveTest</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">StateForge::Examples::Microwave::MicrowaveTest Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="StateForge::Examples::Microwave::MicrowaveTest" -->
<p><a href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac7a3475e9ffbe149297977f59fcd27cd">Setup</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a66f2efe571f82043a0be9839625798d0">TearDown</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a928c0bd58390577520a4c46c5e681609">EvStart</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Start form Initial.  <a href="#a928c0bd58390577520a4c46c5e681609"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a693589b019b277b59cadf250e015420f">EvStart_EvStop</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop after start.  <a href="#a693589b019b277b59cadf250e015420f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a176182a4cf70ae994c805371cfff5675">EvStartEvTurnOnEvDoorOpened</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Turn on and open the door.  <a href="#a176182a4cf70ae994c805371cfff5675"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac7c33041e38cf6ebf21b5d49b15b61fc">EvStart_EvTurnOn_EvTurnOff</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Turn off when after turn on.  <a href="#ac7c33041e38cf6ebf21b5d49b15b61fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ad1debb420d26a141fea04389224e05e2">EvStart_EvTurnOn_EvStop</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop when after turn on.  <a href="#ad1debb420d26a141fea04389224e05e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac59f9285e6da9fbe8d5688fe93daf2f1">EvStartEvDoorOpenedEvTurnOn</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Turn on when the door is opened, then close the door.  <a href="#ac59f9285e6da9fbe8d5688fe93daf2f1"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave.html">Microwave</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">MockRepository&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IObserver&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a> = &quot;MicrowaveContext&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a> = &quot;MicrowaveEngineContext&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a> = &quot;MicrowaveDoorContext&quot;</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00010">10</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a928c0bd58390577520a4c46c5e681609"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::EvStart" ref="a928c0bd58390577520a4c46c5e681609" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Microwave::MicrowaveTest::EvStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Start form Initial. </p>

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00037">37</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Ordered())
                {
                    <span class="comment">// this.context.EvStart();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;Initial&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;Operating&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvStart&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));

                    <span class="comment">// Entering in sub context engine</span>
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;Engine&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;EngineOff&quot;</span>));

                    <span class="comment">//Entering in sub context door</span>
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <span class="stringliteral">&quot;Door&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <span class="stringliteral">&quot;DoorClosed&quot;</span>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvStart();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a693589b019b277b59cadf250e015420f"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::EvStart_EvStop" ref="a693589b019b277b59cadf250e015420f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Microwave::MicrowaveTest::EvStart_EvStop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Stop after start. </p>

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00073">73</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvStart();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Ordered())
                {
                    <span class="comment">// this.context.EvStop();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;Operating&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;End&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvStop&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    <span class="comment">// Leaving sub context engine.</span>
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;EngineOff&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;Engine&quot;</span>));

                    <span class="comment">// Leaving sub context door.</span>
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <span class="stringliteral">&quot;DoorClosed&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <span class="stringliteral">&quot;Door&quot;</span>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvStop();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="ad1debb420d26a141fea04389224e05e2"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::EvStart_EvTurnOn_EvStop" ref="ad1debb420d26a141fea04389224e05e2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Microwave::MicrowaveTest::EvStart_EvTurnOn_EvStop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Stop when after turn on. </p>

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00188">188</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvStart();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvTurnOn();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Ordered())
                {
                    <span class="comment">// this.context.EvStop();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;Operating&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;End&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvStop&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    <span class="comment">// Leaving sub context engine</span>
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;EngineCooking&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;EngineOn&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;Engine&quot;</span>));
                    <span class="comment">// Leaving sub context door</span>
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <span class="stringliteral">&quot;DoorClosed&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <span class="stringliteral">&quot;Door&quot;</span>));

                    <span class="comment">// Leaving context</span>
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">contextName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvStop();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="ac7c33041e38cf6ebf21b5d49b15b61fc"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::EvStart_EvTurnOn_EvTurnOff" ref="ac7c33041e38cf6ebf21b5d49b15b61fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Microwave::MicrowaveTest::EvStart_EvTurnOn_EvTurnOff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Turn off when after turn on. </p>

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00156">156</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvStart();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvTurnOn();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Ordered())
                {
                    <span class="comment">// this.context.EvTurnOn();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;EngineCooking&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;EngineOff&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvTurnOff&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;EngineOn&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvTurnOff();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="ac59f9285e6da9fbe8d5688fe93daf2f1"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::EvStartEvDoorOpenedEvTurnOn" ref="ac59f9285e6da9fbe8d5688fe93daf2f1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Microwave::MicrowaveTest::EvStartEvDoorOpenedEvTurnOn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Turn on when the door is opened, then close the door. </p>

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00228">228</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvStart();
            
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Ordered())
                {

                    <span class="comment">// Door: this.context.EvDoorOpened(); </span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;DoorClosed&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;DoorOpened&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvDoorOpened&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                    
                    <span class="comment">// this.context.EvTurnOn();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;EngineOff&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;EngineWaitDoorToClose&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvTurnOn[context.ContextParent.MicrowaveOperatingParallel.MicrowaveDoorContext.StateCurrent == MicrowaveDoorOpenedState.Instance]&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;EngineOn&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    <span class="comment">// Engine: this.context.EvDoorClosed(); </span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;EngineWaitDoorToClose&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;EngineCooking&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvDoorClosed&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    <span class="comment">// Door: this.context.EvDoorClosed(); </span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;DoorOpened&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;DoorClosed&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvDoorClosed&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvDoorOpened();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvTurnOn();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvDoorClosed();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a176182a4cf70ae994c805371cfff5675"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::EvStartEvTurnOnEvDoorOpened" ref="a176182a4cf70ae994c805371cfff5675" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Microwave::MicrowaveTest::EvStartEvTurnOnEvDoorOpened </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Turn on and open the door. </p>

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00110">110</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvStart();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.Observer = <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>;

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Record())
            {
                <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Ordered())
                {
                    <span class="comment">// this.context.EvTurnOn();</span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;EngineOff&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;EngineCooking&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvTurnOn&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <span class="stringliteral">&quot;EngineOn&quot;</span>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));

                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    <span class="comment">// Engine: this.context.EvDoorOpened(); </span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;EngineCooking&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;EngineWaitDoorToClose&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvDoorOpened&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">contextEngineName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));

                    <span class="comment">// Door: this.context.EvDoorOpened(); </span>
                    <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a> = <span class="stringliteral">&quot;DoorClosed&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a> = <span class="stringliteral">&quot;DoorOpened&quot;</span>; <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a> = <span class="stringliteral">&quot;EvDoorOpened&quot;</span>;
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionBegin(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnExit(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnEntry(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>));
                    Expect.Call(() =&gt; this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a>.OnTransitionEnd(<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">contextDoorName</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">current</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">next</a>, <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">transition</a>));
                }
            }

            <span class="keyword">using</span> (<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.Playback())
            {
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvTurnOn();
                this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a>.EvDoorOpened();
            }
        }
</pre></div>
</div>
</div>
<a class="anchor" id="ac7a3475e9ffbe149297977f59fcd27cd"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::Setup" ref="ac7a3475e9ffbe149297977f59fcd27cd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Microwave::MicrowaveTest::Setup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00021">21</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {
            <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a> = <span class="keyword">new</span> MockRepository();
            <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">observer</a> = <a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">repository</a>.StrictMock&lt;IObserver&gt;();
            this.<a class="code" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">microwave</a> = <span class="keyword">new</span> Microwave();
        }
</pre></div>
</div>
</div>
<a class="anchor" id="a66f2efe571f82043a0be9839625798d0"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::TearDown" ref="a66f2efe571f82043a0be9839625798d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StateForge::Examples::Microwave::MicrowaveTest::TearDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00029">29</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>
<div class="fragment"><pre class="fragment">        {

        }
</pre></div>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ae52b0e2084fd46dac7e07b0b74c69cfb"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::contextDoorName" ref="ae52b0e2084fd46dac7e07b0b74c69cfb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ae52b0e2084fd46dac7e07b0b74c69cfb">StateForge::Examples::Microwave::MicrowaveTest::contextDoorName</a> = &quot;MicrowaveDoorContext&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00017">17</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="aa6957a2bf4ff10b39f03eb7bd7717f7e"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::contextEngineName" ref="aa6957a2bf4ff10b39f03eb7bd7717f7e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#aa6957a2bf4ff10b39f03eb7bd7717f7e">StateForge::Examples::Microwave::MicrowaveTest::contextEngineName</a> = &quot;MicrowaveEngineContext&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00016">16</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a36d0baf442ffb573b424129561126043"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::contextName" ref="a36d0baf442ffb573b424129561126043" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a36d0baf442ffb573b424129561126043">StateForge::Examples::Microwave::MicrowaveTest::contextName</a> = &quot;MicrowaveContext&quot;<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00015">15</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a88b2bf86fb3b5ab1afe7a34a5cf1db74"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::current" ref="a88b2bf86fb3b5ab1afe7a34a5cf1db74" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a88b2bf86fb3b5ab1afe7a34a5cf1db74">StateForge::Examples::Microwave::MicrowaveTest::current</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00018">18</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a3cd75b35463f69c5b54c706bcf3af967"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::microwave" ref="a3cd75b35463f69c5b54c706bcf3af967" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave.html">Microwave</a> <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a3cd75b35463f69c5b54c706bcf3af967">StateForge::Examples::Microwave::MicrowaveTest::microwave</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00012">12</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac9036913901b22ee894478f049bd532e"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::next" ref="ac9036913901b22ee894478f049bd532e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#ac9036913901b22ee894478f049bd532e">StateForge::Examples::Microwave::MicrowaveTest::next</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00018">18</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a4000e26593812e9a8f67bbaf897cc814"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::observer" ref="a4000e26593812e9a8f67bbaf897cc814" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IObserver <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a4000e26593812e9a8f67bbaf897cc814">StateForge::Examples::Microwave::MicrowaveTest::observer</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00014">14</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a9fbbefce4e70584b81ef088f667ba1be"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::repository" ref="a9fbbefce4e70584b81ef088f667ba1be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MockRepository <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a9fbbefce4e70584b81ef088f667ba1be">StateForge::Examples::Microwave::MicrowaveTest::repository</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00013">13</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a526596fea5cade2526c83644429d7a08"></a><!-- doxytag: member="StateForge::Examples::Microwave::MicrowaveTest::transition" ref="a526596fea5cade2526c83644429d7a08" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_state_forge_1_1_examples_1_1_microwave_1_1_microwave_test.html#a526596fea5cade2526c83644429d7a08">StateForge::Examples::Microwave::MicrowaveTest::transition</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_microwave_test_8cs_source.html#l00018">18</a> of file <a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Test/MicrowaveTest/<a class="el" href="_microwave_test_8cs_source.html">MicrowaveTest.cs</a></li>
</ul>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
